#ifndef LIGHTPRESETPLAYBAR_H
#define LIGHTPRESETPLAYBAR_H

#include <QGroupBox>
#include <QList>

namespace Ui {
class LightPresetPlaybar;
}

class LevelViewForPreset;

class LightPresetPlaybar : public QGroupBox
{
   Q_OBJECT

public:
   explicit LightPresetPlaybar(QWidget *parent = 0);
   ~LightPresetPlaybar();

   void setValueList( const QList<double> &levels);

signals:
   void play();
   void edit();
   void remove();

private slots:
   void on_playButton_clicked();
   void on_editButton_clicked();
   void on_deleteButton_clicked();

private:
   Ui::LightPresetPlaybar *ui;
   LevelViewForPreset *m_levelView;
};

#endif // LIGHTPRESETPLAYBAR_H
